package main

import (
	"exam12_11/appconfig"
	"exam12_11/models/mysql"
	"exam12_11/routers"
	"github.com/gin-gonic/gin"
)

func main() {
	server := gin.Default()
	appconfig.Init()
	mysql.MysqlInit()
	routers.SetUserRouters(server)
	server.Run(":" + appconfig.AppConfig.Run)
}
